﻿using System;
using Microsoft.AspNetCore.Mvc;
using ServiceStack.DataAnnotations;

namespace WebCoreAdmin.Models
{
    [Alias("Uploadfile")]
    public class UploadfileViewModel
    {
        [AutoIncrement, PrimaryKey]
        public long Id { get; set; }
        public string User { get; set; }
        [Index(Unique = true)]
        public string Path { get; set; }
        public long Length { get; set; }
        public DateTime AddDateTime { get; set; }
    }
}